The base for a pass within a TargetOperations.
More...
Public Member Functions | |
| TargetOperations * | getParentTargetOperations () const |
| PASS_TYPE | getPassType () const |
| const char * | getName () const |
| void | setParentTargetOperations (TargetOperations *parent) |
| void | setName (const char *name) |
| virtual void | render ()=0 |
| virtual void | exportClassToTree (nkExport::Node *rootNode) override |
| virtual void | importClassFromTree (nkExport::Node *rootNode) override |
Public Member Functions inherited from nkExport::Exportable | |
| Exportable () | |
| virtual | ~Exportable () |
The base for a pass within a TargetOperations.
One pass is attached to one target operations, which owns it.
See TargetOperations for all the passes available.
| TargetOperations* nkGraphics::Pass::getParentTargetOperations | ( | ) | const |
| PASS_TYPE nkGraphics::Pass::getPassType | ( | ) | const |
| const char* nkGraphics::Pass::getName | ( | ) | const |
| void nkGraphics::Pass::setParentTargetOperations | ( | TargetOperations * | parent | ) |
Sets the parent target operations.
| parent | The parent to set. |
| void nkGraphics::Pass::setName | ( | const char * | name | ) |
Sets the name of the pass.
| name | The name to assign. |
|
pure virtual |
Part of old API. Will be removed in a near future.
|
overridevirtual |
Basic exporting capabilities.
| rootNode | The tree to export to. |
Implements nkExport::Exportable.
Reimplemented in nkGraphics::RenderScenePass, nkGraphics::InstancingPass, nkGraphics::RaytracingPass, nkGraphics::ClearTargetsPass, nkGraphics::PostProcessPass, nkGraphics::ComputePass, and nkGraphics::MonoMaterialPass.
|
overridevirtual |
Basic importing capabilities.
| rootNode | The tree to import from. |
Implements nkExport::Exportable.
Reimplemented in nkGraphics::RenderScenePass, nkGraphics::InstancingPass, nkGraphics::RaytracingPass, nkGraphics::ClearTargetsPass, nkGraphics::PostProcessPass, nkGraphics::ComputePass, and nkGraphics::MonoMaterialPass.